﻿// 1.1.6.12. Write a program to convert decimal numbers to their binary representation.

using System;

class ConvertDecimalToBinary
{
    static void Main()
    {

        int userInput = int.Parse(Console.ReadLine());
        string binaryUserInput = null;

        for (int i = 0; i < int.MaxValue; i++)
        {
            binaryUserInput = (userInput % 2) + "" + binaryUserInput;
            userInput /= 2;
            if (userInput == 0)
            {
                break;
            }
        }
        Console.WriteLine(binaryUserInput);
    }
}
